package com.hx.springboot1.service;

import com.github.pagehelper.PageInfo;
import com.hx.springboot1.pojo.entity.TabRole;
import com.hx.springboot1.utils.ResultMsg;

import java.util.List;

public interface RoleService {
    TabRole selectById(Integer id);
    PageInfo selectAllRoles(String searchName, String pageNum, String pageSize);
    ResultMsg updateRoleState(Integer state,Integer roleId);
    ResultMsg insertOrUpdateRole(Integer roleId,String roleName);
    List<TabRole> selectAllRoles();
}
